<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item v-for="(item, index) in bannerarr" :key="index">
    <img :src="item.image_url" alt="">
  </van-swipe-item>
  
</van-swipe>
</template>

<script>
export default {
    props: ["bannerarr"],
    // mounted(){
    //     console.log(this.bannerarr)
    // }
}
</script>

<style lang="less" scoped>
    .van-swipe{
        // width: 100%;
        .van-swipe-item{
          img{
                width: 100%;
              
          }
        }
    }
</style>